<%@ include file="/view/template/header.jsp"%>	
	<div id="content">
    	<%@ include file="/view/ehr/ehr_common.jsp"%>
        <div class="right-content">
			<div class="box">
				<s:if test='replyMessage.message!="empty"'>
					<s:property value="replyMessage.message"/>
				</s:if>
				<s:else>
					<h1><s:text name="label.dischargePatient.dischargeTitle" /></h1>
					<s:form action="discharge_patient_form">
						<div class="con-part">
							<span><s:label key="label.dischargePatient.patient_Id"></s:label></span>
							<s:textfield key="dischargePatient.patientId" value="%{#parameters['patient_id'][0]}" readonly="true" required="true" cssErrorClass="error"/>
						</div>
						<br/><FORM><INPUT TYPE="BUTTON" VALUE="Go Back" 
ONCLICK="history.go(-1)"></FORM>
						<div class="con-part">
							<span><s:label key="label.dischargePatient.discharge_Consultant_Id"></s:label></span>
							<s:textfield key="dischargePatient.dischargeConsultantId" required="true" cssErrorClass="error"/>
						</div>
						<br/>
						<div class="con-part">
							<span><s:label key="label.dischargePatient.discharge_Date"></s:label></span>
							<s:textfield name="dischargePatient.dischargeDate" id="datetimepicker" class="input-text" cssErrorClass="error"></s:textfield>
						</div>
						<br/>
						<div class="con-part">
							<span><s:label key="label.dischargePatient.Comments"></s:label></span>
							<s:textfield key="dischargePatient.comments" required="true" cssErrorClass="error"/>
						</div>
						<br/>
						<s:submit key="label.dischargePatient.submit" align="center" cssClass="green"/>
					</s:form>
				</s:else>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="<% out.print(baseURL);%>/view/template/js/jquery-ui-timepicker-addon.js"></script>
	<script>
$(function() {
$("#tabs").tabs();
});
$(function() {
$('#datetimepicker').datetimepicker();
});
</script>
<%@ include file="/view/template/footer.jsp"%>

